package com.roc.pojo;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * 云商宝SN信息表
 */
@Entity
@Table(name = "t_pos_info")
public class TPosInfo extends BaseBean implements Serializable {


	@Id
	@Column(name = "SERIAL_NUM")
	private String serialNum;  //序列号
	
	@Column(name = "MERC_CODE")
	private String mercCode;   //商户号
	
	@Column(name = "TERM_CODE")
	private String termCode;  //终端号
	
	@Column(name = "TEK_ID")
	private String tekId;   //终端主密钥索引
	
	@Column(name = "POS_BRAND")
	private String posBrand;  //品牌
	
	@Column(name = "POS_TYPE")
	private String posType;  //机型
	
	@Column(name = "POS_NAME")
	private String posName;  //名称
	
	@Column(name = "ORG_CODE")
	private String orgCode;  //机构代码
	
	@Column(name = "IS_BIND")
	private String isBind;   //是否已绑定  Y  /  N
	
	@Column(name = "REMARK")
	private String remark;  //备注
	
	@Column(name = "UPDATE_FLAG")
	private String updateFlag;  //终端程序强制更新标志  Y 更新 N 不更新	

	@Column(name = "ASSET_FLAG")
	private String assefFlag;  // 资产类型

	@Transient
	private String operators;// 代理商账号
	
	@Transient
	private long agentId;
	
	@Transient
	private String orgName;
	
	@Transient
	private String isUsed;
	
	@Transient
	private String inDateStr;//入库时间
	
	@Transient
	private String outDateStr;//出库时间
	
	@Transient
	private String agentName;//所属代理商名称
	
	@Transient
	private String posBrandCode;  //品牌编号
	
	@Transient
	private String posBrandName;  //型号编号
	
	@Transient
	private String maxUpdDate;  // 最大更新时间
	
	@Transient
	private String snClass;  //SN等级
	

	@Transient
	private String mchtCrtDateStr;//商户入网时间
	
	@Transient
	private String mchtName;//商户名称
	
	@Transient
	private String phone;//手机号
	
	@Transient
	private String actDateStr;//激活时间
	
	public TPosInfo() {
		// TODO Auto-generated constructor stub
	}

	public String getSerialNum() {
		return serialNum;
	}

	public void setSerialNum(String serialNum) {
		this.serialNum = serialNum;
	}

	public String getMercCode() {
		return mercCode;
	}

	public void setMercCode(String mercCode) {
		this.mercCode = mercCode;
	}

	public String getTermCode() {
		return termCode;
	}

	public void setTermCode(String termCode) {
		this.termCode = termCode;
	}

	public String getTekId() {
		return tekId;
	}

	public void setTekId(String tekId) {
		this.tekId = tekId;
	}

	public String getPosBrand() {
		return posBrand;
	}

	public void setPosBrand(String posBrand) {
		this.posBrand = posBrand;
	}

	public String getPosType() {
		return posType;
	}

	public void setPosType(String posType) {
		this.posType = posType;
	}

	public String getPosName() {
		return posName;
	}

	public void setPosName(String posName) {
		this.posName = posName;
	}

	public String getOrgCode() {
		return orgCode;
	}

	public void setOrgCode(String orgCode) {
		this.orgCode = orgCode;
	}

	public String getIsBind() {
		return isBind;
	}

	public void setIsBind(String isBind) {
		this.isBind = isBind;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public long getAgentId() {
		return agentId;
	}

	public void setAgentId(long agentId) {
		this.agentId = agentId;
	}

	public String getOrgName() {
		return orgName;
	}

	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}

	public String getIsUsed() {
		return isUsed;
	}

	public void setIsUsed(String isUsed) {
		this.isUsed = isUsed;
	}

	public String getInDateStr() {
		return inDateStr;
	}

	public void setInDateStr(String inDateStr) {
		this.inDateStr = inDateStr;
	}

	public String getOutDateStr() {
		return outDateStr;
	}

	public void setOutDateStr(String outDateStr) {
		this.outDateStr = outDateStr;
	}

	public String getAgentName() {
		return agentName;
	}

	public void setAgentName(String agentName) {
		this.agentName = agentName;
	}

	public String getUpdateFlag() {
		return updateFlag;
	}

	public void setUpdateFlag(String updateFlag) {
		this.updateFlag = updateFlag;
	}

	public String getOperators() {
		return operators;
	}

	public void setOperators(String operators) {
		this.operators = operators;
	}

	public String getPosBrandCode() {
		return posBrandCode;
	}

	public void setPosBrandCode(String posBrandCode) {
		this.posBrandCode = posBrandCode;
	}

	public String getAssefFlag() {
		return assefFlag;
	}

	public void setAssefFlag(String assefFlag) {
		this.assefFlag = assefFlag;
	}

	public String getMaxUpdDate() {
		return maxUpdDate;
	}

	public void setMaxUpdDate(String maxUpdDate) {
		this.maxUpdDate = maxUpdDate;
	}

	public String getSnClass() {
		return snClass;
	}

	public void setSnClass(String snClass) {
		this.snClass = snClass;
	}

	public String getPosBrandName() {
		return posBrandName;
	}

	public void setPosBrandName(String posBrandName) {
		this.posBrandName = posBrandName;
	}

	public String getMchtCrtDateStr() {
		return mchtCrtDateStr;
	}

	public void setMchtCrtDateStr(String mchtCrtDateStr) {
		this.mchtCrtDateStr = mchtCrtDateStr;
	}

	public String getMchtName() {
		return mchtName;
	}

	public void setMchtName(String mchtName) {
		this.mchtName = mchtName;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getActDateStr() {
		return actDateStr;
	}

	public void setActDateStr(String actDateStr) {
		this.actDateStr = actDateStr;
	}

}
